<?php
declare(strict_types=1);

namespace App\Http\Controllers;

use App\Http\Requests\AuthorFansValidate;
use App\Library\Response;
use App\Logic\User\Service\AuthorFansService;
use Illuminate\Http\JsonResponse;

class AuthorFansController extends Controller
{
    public function create(AuthorFansValidate  $validate): JsonResponse
    {
        return Response::success((new AuthorFansService())->serviceCreate(request()->all()));
    }
}
